GoXam for WPF v3
NodeKeyIsNodeData Property (GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>)
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : NodeKeyIsNodeData Property
Gets or sets whether all node data are also their own keys.
Syntax
public bool NodeKeyIsNodeData {get; set;}

Property Value

The default value is false. For this to be set to true, the NodeType type and the NodeKey types must be the same.
Remarks

This is used for model discovery. It is an optimization that avoids the use of an additional hash table mapping NodeKey values to their NodeType data, and permits other optimizations as well. This can often be set to true when "references" to nodes are actually using .NET CLR references (i.e. "pointers") instead of values such as integer, strings, GUIDs et al.

See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members